package com.gitee.shop.mapper;

import com.gitee.shop.domain.ItemCat;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ItemCatMapper {
    int deleteByPrimaryKey(Integer cid);

    int insert(ItemCat record);

    ItemCat selectByPrimaryKey(Integer cid);

    List<ItemCat> selectAll();

    int updateByPrimaryKey(ItemCat record);
    //根据状态信息检索
    List<ItemCat> selectByStatus(int status);
}